package com.java.grammer.interage;

/**
 * @author luzhikun
 * @date 2020/12/7- 22:25
 * 包装类
 */
public class PackTest {
    public static void main(String[] args) {
        Integer num = new Integer(8);
        Integer num1 = new Integer(8);
        System.out.println(num.equals(num1));

        System.out.println("---------------");
        Integer num2 = 10;
        Integer num3 = 10;
        System.out.println(num2.equals(num3));

        System.out.println("--------------");
        Integer num4 = 128;
        Integer num5 = 128;
        System.out.println(num4.equals(num5));

    }
}
